import http from "../utils/axioscoig"


// 获取验证码
export let getCaptcha = () => http.get('/users/getCaptcha?v=next')
// 校验验证码
export let jiaoyanCaptcha = (captcha) => http.get('/users/verifyCaptcha', {
    params: {
        captcha
    }
})

// 用户名登录
export let loginuserName = (username, password) => http.post("/users/login", {
    username,
    password,
})

